home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
How Would You Survive?
/
How Would You Survive (1995)(Grolier)[Mac-PC].iso
/
pc
/
egyptw.dir
/
01715_Script_The Gods
< prev
next >
Wrap
Text File
|
1995-09-13
|
3KB
|
109 lines
global gQuest, gBeenClicked
on EGodsRollovers
set gBeenClicked = 0
if (not(CheckClickedStatus(gQuest))) then
if rollover(6) then
repeat while rollover(6)
EgyptCursor
puppetsprite 25, true
set the locH of sprite 25 to 557
set the locV of sprite 25 to 142
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
set the locH of sprite 25 to 957
updatestage
repeat while gBeenClicked = 1
AnimateLoopFastPause 6, 868, 4, 0, 1, 2
end repeat
end if
end if
end repeat
set the locH of sprite 25 to 957
puppetsprite 25, false
updatestage
else
if rollover(7) then
repeat while rollover(7)
ArrowCursor
set the locH of sprite 8 to 287
set the locV of sprite 8 to 220
updatestage
end repeat
set the locH of sprite 8 to 987
updatestage
else
if rollover(9) then
repeat while rollover(9)
ArrowCursor
set the locH of sprite 10 to 403
set the locV of sprite 10 to 245
updatestage
end repeat
set the locH of sprite 10 to 903
updatestage
else
if rollover(11) then
repeat while rollover(11)
ArrowCursor
set the locH of sprite 12 to 417
set the locV of sprite 12 to 262
updatestage
end repeat
set the locH of sprite 12 to 917
updatestage
else
if rollover(13) then
repeat while rollover(13)
ArrowCursor
set the locH of sprite 14 to 403
set the locV of sprite 14 to 197
updatestage
end repeat
set the locH of sprite 14 to 903
updatestage
else
if rollover(41) then
HandCursor
else
if rollover(42) then
HandCursor
else
ArrowCursor
end if
end if
end if
end if
end if
end if
end if
end if
RandomQuestion(gQuest)
end
on TheGodsAnimate
ArrowCursor
set gAnimationcast1 = 508
set count = 0
puppetsound "SE220110.AIF"
repeat while count < 2 and (the mouseUp)
set the castnum of sprite 2 = gAnimationcast1 + 1
updatestage
wait .5
if (the mousedown) then
exit repeat
end if
set count = count + 1
end repeat
set the castnum of sprite 2 = gAnimationcast1
updatestage
sound fadeout 1, 2*60
set gBeenClicked = 0
end